module.exports = function ($scope, $resource, $modalInstance, $modal, item, toaster) {

	//游客的出游信息
	$resource('/api/as/atc/tourist/touristGroupList', {}, {}).save({'group_code': item.group_code}, function(res){
		if (res.errcode === 0) {
			$scope.touristList = res.data;
		} else {
			toaster.error({title: '', body: '查询游客信息失败'});
		}
	});

	$scope.close = function () {
        $modalInstance.dismiss('cancel');
    }
	


};